ProgressMode

enum ProgressMode : Enum<ProgressMode>

A progress mode is used to select which notifications are received from SyncSession.progressAsFlow.

Entries

INDEFINITELY
Link copied to clipboard
Used to pass to SyncSession.progressAsFlow to create a flow that reports the size of outstanding changes not yet transferred and will continue to report progress changes, even if changes are being added after the listener was registered.
CURRENT_CHANGES
Link copied to clipboard
Used to pass to SyncSession.progressAsFlow to create a flow that will record the size of the current outstanding changes not transferred, and will only continue to report progress updates until those changes have been either downloaded or uploaded.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int